package com.xindaoapp.framework.api;

import org.apache.http.client.CookieStore;

import android.net.Uri;
import android.os.Bundle;

import com.xindaoapp.framework.bean.QQInfo;
import com.xindaoapp.framework.bean.User;

public class ConstantsValue {
	public static boolean ISUPLOADSUCCESS=false;
	public static Uri uri;
	public static Uri uri2;
	public static String REGISTERNAME ="";
	public static String  REGISTERPSW="";
	public static CookieStore cookieStore;
	
	/**
	 * QQ登录的信息
	 */
	public static QQInfo info=null;
	public static boolean loginByQQ=false;
	public static boolean loginBySina=false;
	public static boolean loginByLee=false;
	public static Bundle sina=null;
	
	/**
	 * 判断用户是否登录的Boolean值
	 */
	public static boolean isLogin=false;
	/**
	 * 用户的用户名
	 */
	public static String uid="";
	/**
	 * 测试用户id
	 */
	public static String uidcs=uid;
	public static User user;

	public static User getUser() {
		return user;
	}

	public static void setUser(User user) {
		ConstantsValue.user = user;
	}
}
	